HTMLify
index.html
Views: 397 | Author: cody
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Nunito:ital@1&family=Roboto+Condensed:ital@1&family=Roboto+Mono&family=Rubik+Glitch&family=Source+Sans+Pro:wght@300;400&display=swap" rel="stylesheet"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="index.css"> <title>COIN GAME</title> </head> <body> <h1 style="text-align: center;">Coin Toss Game</h1> <h2 style="text-align: center; margin-top: 40px;">First player to 5 points win!</h2> <h3 style="text-align: center; margin-top: 60px;" id="score">Player have heads and computer have tails </h3> <h4 id="playerScore">0</h4> <h4 id="computerscore">0</h4> <img id="head" src="https://raw.githubusercontent.com/JS-Beginners/coin-toss-game-2/master/heads.png"> <img id="tail" src="https://raw.githubusercontent.com/JS-Beginners/coin-toss-game-2/master/tails.png"> <button class="btn" onclick="headToTail()"> Try your chance </button> <footer style="background-color: black; height: 65px; width: 1536px; color:antiquewhite; text-align: center; position: relative; right: 08px;"> MADE FOR GSSoC'22 </footer> <script src="index.js"></script> </body> </html> |